/**
* Author: CZ (cz.devnet@gmail.com)
*
* Description:
 */

package utils

import (
	"math"
)

func init() {

}

func F5(f float64) float64 {
	ff := math.Floor(float64(f*100000)) / 100000.0
	return ff
}

func F2(f float64) float64 {
	ff := math.Floor(float64(f*100)) / 100.0
	return ff
}

func F4(f float64) float64 {
	ff := math.Floor(float64(f*10000)) / 10000.0
	return ff
}
